﻿Imports System
Imports System.Collections.Specialized
Imports System.IO

Namespace System.Workflow.ComponentModel.Compiler
    Friend Class StandardWorkflowAssemblies
        ' Methods
        Shared Sub New()
            StandardWorkflowAssemblies.standardWorkflowLibraries.AddRange(New String() { "System.Workflow.ComponentModel.dll".ToLowerInvariant, "System.Workflow.Runtime.dll".ToLowerInvariant, "System.Workflow.Activities.dll".ToLowerInvariant, "System.dll".ToLowerInvariant, "System.Transactions.dll".ToLowerInvariant, "System.Drawing.dll".ToLowerInvariant, "System.Web.dll".ToLowerInvariant, "System.Web.Services.dll".ToLowerInvariant })
        End Sub

        Public Shared Function Contains(ByVal fileName As String) As Boolean
            Return StandardWorkflowAssemblies.standardWorkflowLibraries.Contains(Path.GetFileName(fileName).ToLowerInvariant)
        End Function


        ' Fields
        Private Shared standardWorkflowLibraries As StringCollection = New StringCollection
    End Class
End Namespace

